Currently the documentation for both these classes shows an empty page,
and the documentation for SafeStorage doesn't show any methods.
Change-Id: I74a431cd064323c7eb1a65d60db7d3d44f5b2943
*
* @class mw.SafeStorage
* @private
*
* @class mw.SafeStorage
* @private
* @param {Object|undefined} store The Storage instance to wrap around
*/
function SafeStorage( store ) {
* @param {Object|undefined} store The Storage instance to wrap around
*/
function SafeStorage( store ) {
+ * A wrapper for the HTML5 `localStorage` interface
+ * that is safe to call on all browsers.
+ *
* @class
* @singleton
* @extends mw.SafeStorage
* @class
* @singleton
* @extends mw.SafeStorage
mw.storage = new SafeStorage( localStorage );
/**
mw.storage = new SafeStorage( localStorage );
/**
+ * A wrapper for the HTML5 `sessionStorage` interface
+ * that is safe to call on all browsers.
+ *
* @class
* @singleton
* @extends mw.SafeStorage
* @class
* @singleton
* @extends mw.SafeStorage